package com.test.thread;

public class MyLocker {

	public synchronized void myWait() {
		try {
			wait();
		} catch (InterruptedException e) {
			System.out.println("MyLocker.wait InterruptedException");
		}
	}

	public synchronized void myNotify() {
		notify();
	}

}